import { useCounterStore } from '@/stores/counter'
export function countFn() {
  // pinia取值
  // console.log(useCounterStore())
  const counter = useCounterStore()
  // counter就是我们定义的
  // count就是state里面定义的属性
  // console.log(counter.count)

  return {
    counter
  }
}